<template>


<div class="contents" >
    <div class="contetn_left" >
        <div class="pagetab">
            <dv-decoration-12 style="width:30px;height:30px;margin-right: 20px;" />
            <div class="item">实时监测数据</div>
        </div>
    
        <ItemWrap class="contetn_left-top contetn_lr-item" title="设备总览" >
            <LeftTop />
        </ItemWrap>
        <ItemWrap class="contetn_left-center contetn_lr-item" title="执行器统计" >
            <LeftCenter />
        </ItemWrap>
        <ItemWrap class="contetn_left-bottom contetn_lr-item" title="执行器状态" style="padding: 0 10px 16px 10px" >
            <LeftBottom />
        </ItemWrap>
    </div>
                <div class="contetn_center" >
                    <CenterMap class="contetn_center_top" />
                    <ItemWrap class="contetn_center-bottom" title="服务器信息" >
                        <CenterBottom />
                    </ItemWrap>
                </div>
                <div class="contetn_right">
                    
                    <iframe style="height: 300px;margin:10px 0;border-radius: 5%;" class="contetn_left-bottom contetn_lr-item" scrolling="no" src="http://weather.seniverse.com/?token=6b84925e-be53-4743-8813-050db418a532" frameborder="0"  allowtransparency="true"></iframe>
                    <!-- <iframe style="height: 630px;margin-top: 10px;border-radius: 5%;" class="contetn_left-bottom contetn_lr-item" scrolling="no" src="http://weather.seniverse.com/?token=6b84925e-be53-4743-8813-050db418a532" frameborder="0"  allowtransparency="true"></iframe> -->
                
                    <ItemWrap  class="contetn_left-bottom contetn_lr-item" title="传感器数据显示"  style="padding: 0 10px 16px 10px">
                        <RightCenter />
                    </ItemWrap>

                    <ItemWrap class="contetn_left-bottom contetn_lr-item" title="传感器故障上报" style="padding: 0 10px 16px 10px;margin-top:4%;">
                        <RightBottom />
                    </ItemWrap>
            
                </div>
            </div>
</template>

<script>
import LeftTop from './left-top.vue'
import LeftCenter from "./left-center.vue";
import LeftBottom from "./left-bottom.vue";
import CenterMap from "./center-map.vue";
import CenterBottom from "./center-bottom.vue";
import RightTop from "./right-top.vue";
import RightCenter from "./right-center.vue";
import RightBottom from "./right-bottom.vue";
export default {
    components: {
        LeftTop,
        LeftCenter,
        LeftBottom,
        CenterMap,
        RightTop,
        RightCenter,
        RightBottom,
        CenterBottom,
    },
    data() {
        return {

        };
    },
    filters: {
        numsFilter(msg) {
            return msg || 0;
        },
    },
    created() {
    },

    mounted() {},
    methods: {

    },
};
</script>

<style lang="scss" scoped>
// 内容
.contents {
  .contetn_left,
  .contetn_right {
    width: 540px;
    box-sizing: border-box;
    // padding: 16px 0;
  }

  .contetn_center {
    width: 720px;
  }

  //左右两侧 三个块
  .contetn_lr-item {
    height: 310px;
  }

  .contetn_center_top {
    width: 100%;
  }

  // 中间
  .contetn_center {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  .contetn_center-bottom {
    height: 315px;
  }

  //左边 右边 结构一样
  .contetn_left,
  .contetn_right {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: relative;

  
  }
}


@keyframes rotating {
    0% {
        -webkit-transform: rotate(0) scale(1);
        transform: rotate(0) scale(1);
    }
    50% {
        -webkit-transform: rotate(180deg) scale(1.1);
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        -webkit-transform: rotate(360deg) scale(1);
        transform: rotate(360deg) scale(1);
    }
}
</style>
